Skip to content

Exclude Windows from the bundled remote-auth server build - #2

Open
bobvh wants to merge 1 commit into
Chris7:masterfrom
bobvh:fix-windows
Open

Exclude Windows from the bundled remote-auth server build#2
bobvh wants to merge 1 commit into
Chris7:masterfrom
bobvh:fix-windows

Conversation

@bobvh

@bobvh bobvh commented Jul 30, 2026

Copy link
Copy Markdown

This is for the windows builds of the Python wheels when we include the client in there as well (PR220 on gen).

I assume that no one on windows will want to be running a doltlite server anyway, just like the wasm exclusion on the same.

Technical description:

struct DoltliteServer in the doltlite.c amalgamation uses raw POSIX pthread_t/pthread_mutex_t/pthread_cond_t with no Windows implementation, so MSVC fails to parse the struct (and every later use of it cascades into "undefined struct" errors).

struct DoltliteServer in the doltlite.c amalgamation uses raw POSIX
pthread_t/pthread_mutex_t/pthread_cond_t with no Windows implementation,
so MSVC fails to parse the struct (and every later use of it cascades
into "undefined struct" errors). Windows builds are client-only and
don't need to host the embedded remote-auth TCP server, so exclude
Windows from remote_supported the same way wasm32 already is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant